[jQuery] Descriptions on Hover

Posted by Nimbuz on Stack Overflow See other posts from Stack Overflow or by Nimbuz
Published on 2010-06-14T19:01:43Z Indexed on 2010/06/14 19:02 UTC
Read the original article Hit count: 107

Filed under:
|
|
|
<form action="">
    <input type="text" value="" class="card-num" />
    <input type="text" value="" class="card-cvv2"/>
</form>

<div class="description">
    <p class="card-num">Enter your 16 digit card number</p>
    <p class="card-cvv2">Enter the 3 digit number at the back of your card</p>
</div>

All descriptions are hidden initially. But when hovered on an element that has a matching

tag, display description?

I'd really appreciate any help.

Many thanks!

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about dynamic